#! /usr/bin/perl

chomp($a = <STDIN>);
chomp($b = <STDIN>);
print $a * $b ."\n";
